package com.kxf.utils;

import android.util.Log;

//打印堆栈信息
public class StackTracesUtil {
    private StackTracesUtil() {
    }

    public static void printCurrent(){
        StackTraceElement[] stackElements = Thread.currentThread().getStackTrace();
        for(StackTraceElement element: stackElements){
            Log.d("StackTracesUtil", "\t" + element);
        }
    }
}
